package org.chen.common.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(name = "CreateTravelOrderRequest对象", description="创建旅游订单请求对象")
public class CreateTravelOrderRequest implements Serializable {

    private static final long serialVersionUID = -6133994384185333872L;

    @Schema(description = "预下单订单号")
    @NotBlank(message = "预下单订单号不能为空")
    private String preOrderNo;

    @Schema(description = "支付类型:paypal-paypal支付")
    @NotBlank(message = "支付类型不能为空")
    private String payType;

    @Schema(description = "支付渠道:paypal-paypal支付 h5 pc")
    @NotBlank(message = "支付渠道不能为空")
    private String payChannel;

    @Schema(description = "订单备注")
    private String mark;
}
